﻿using System;
using System.Data;
using System.Configuration;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Collections;
using Dcms.BLL;
using Dcms.Common;
using Dcms.Model;
using WebApp.AppCode;

public partial class Manage_Modle_News_newSec : System.Web.UI.Page
{
    public CompetenceLib CL = new CompetenceLib();
    protected void Page_Load(object sender, EventArgs e)
    {
        CL.IsLogin();
    }



    protected void btnSec_Click(object sender, EventArgs e)
    {
        NewSec NS = new NewSec();
        NS.TitleKey = txbTitleKey.Text;
        NS.CountionKey = txbCountionKey.Text;
        NS.Key = txbKey.Text;
        NS.BeginTime = txbStateTime.Text;
        NS.EndTime = txbEndTime.Text;
        Session.Add("NewSec", NS);
        Server.Transfer("ListNews.aspx");
    }
}

